package org.zfes.snowier.zbss.xzy.biz.zmd.model;
import org.zfes.snowier.core.data.IBaseModel;
public class ModataDevice extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public ModataDevice() {}
	public ModataDevice(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->

 

	  private java.util.Date createtime;
 

	  private java.util.Date receivetime;
 
	@org.hibernate.validator.constraints.Length(min=0,max=30,message="长度不能大于30")
	  private java.lang.String deviceip;
 
	@org.hibernate.validator.constraints.Length(min=0,max=40,message="长度不能大于40")
	  private java.lang.String devicesn;
 
	@org.hibernate.validator.constraints.Length(min=0,max=30,message="长度不能大于30")
	  private java.lang.String uptime;
 
	@javax.validation.constraints.NotBlank(message="不能为空")
	@javax.validation.constraints.NotNull(message="不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=30,message="长度不能大于30")
	  private java.lang.String tenantid;
 
	@org.hibernate.validator.constraints.Length(min=0,max=30,message="长度不能大于30")
	  private java.lang.String st;
 
	@org.hibernate.validator.constraints.Length(min=0,max=30,message="长度不能大于30")
	  private java.lang.String loclat;
 
	@org.hibernate.validator.constraints.Length(min=0,max=30,message="长度不能大于30")
	  private java.lang.String loclon;
 
	@org.hibernate.validator.constraints.Length(min=0,max=30,message="长度不能大于30")
	  private java.lang.String ti;
 
	@org.hibernate.validator.constraints.Length(min=0,max=40,message="长度不能大于40")
	  private java.lang.String devicemac;
 

	  private java.lang.Long deptId;
 
	@org.hibernate.validator.constraints.Length(min=0,max=60,message="长度不能大于60")
	  private java.lang.String deptTreeCode;
 
	@org.hibernate.validator.constraints.Length(min=0,max=65535,message="信息长度不能大于65,535")
	  private java.lang.String message;
 
	
	//<-------------------------------------------->
	public ModataDevice setCreatetime(java.util.Date createtime){
	 this.createtime=createtime;
	 return this;
	}
	public java.util.Date getCreatetime(){
		return this.createtime;
	}
	public ModataDevice setReceivetime(java.util.Date receivetime){
	 this.receivetime=receivetime;
	 return this;
	}
	public java.util.Date getReceivetime(){
		return this.receivetime;
	}
	public ModataDevice setDeviceip(java.lang.String deviceip){
		this.deviceip=deviceip==null?null:deviceip.trim();
	 return this;
	}
	public java.lang.String getDeviceip(){
		return this.deviceip;
	}
	public ModataDevice setDevicesn(java.lang.String devicesn){
		this.devicesn=devicesn==null?null:devicesn.trim();
	 return this;
	}
	public java.lang.String getDevicesn(){
		return this.devicesn;
	}
	public ModataDevice setUptime(java.lang.String uptime){
		this.uptime=uptime==null?null:uptime.trim();
	 return this;
	}
	public java.lang.String getUptime(){
		return this.uptime;
	}
	public ModataDevice setTenantid(java.lang.String tenantid){
		this.tenantid=tenantid==null?null:tenantid.trim();
	 return this;
	}
	public java.lang.String getTenantid(){
		return this.tenantid;
	}
	public ModataDevice setSt(java.lang.String st){
		this.st=st==null?null:st.trim();
	 return this;
	}
	public java.lang.String getSt(){
		return this.st;
	}
	public ModataDevice setLoclat(java.lang.String loclat){
		this.loclat=loclat==null?null:loclat.trim();
	 return this;
	}
	public java.lang.String getLoclat(){
		return this.loclat;
	}
	public ModataDevice setLoclon(java.lang.String loclon){
		this.loclon=loclon==null?null:loclon.trim();
	 return this;
	}
	public java.lang.String getLoclon(){
		return this.loclon;
	}
	public ModataDevice setTi(java.lang.String ti){
		this.ti=ti==null?null:ti.trim();
	 return this;
	}
	public java.lang.String getTi(){
		return this.ti;
	}
	public ModataDevice setDevicemac(java.lang.String devicemac){
		this.devicemac=devicemac==null?null:devicemac.trim();
	 return this;
	}
	public java.lang.String getDevicemac(){
		return this.devicemac;
	}
	public ModataDevice setDeptId(java.lang.Long deptId){
	 this.deptId=deptId;
	 return this;
	}
	public java.lang.Long getDeptId(){
		return this.deptId;
	}
	public ModataDevice setDeptTreeCode(java.lang.String deptTreeCode){
		this.deptTreeCode=deptTreeCode==null?null:deptTreeCode.trim();
	 return this;
	}
	public java.lang.String getDeptTreeCode(){
		return this.deptTreeCode;
	}
	public ModataDevice setMessage(java.lang.String message){
		this.message=message==null?null:message.trim();
	 return this;
	}
	public java.lang.String getMessage(){
		return this.message;
	}

}
